from django.apps import AppConfig


class HomeConfig(AppConfig):
    name = 'home'
    verbose_name = '我的首页'


# user_role={0:'root'}
# num=0 #定义一个字典键
# def create_user(name,role=3,**kwargs):
#     if not name:
#         return '用户名不能为空'
#     for i in user_role.items():
#         a,b=i
#         num =a+1
#     user_role[num]=role
#     return f'创建名为{name},角色为{role},其他信息为{kwargs}的用户'
# t=create_user('xusanduo',role='user',depart='IT',birthady='2000-10-1')
# print(t)
# print(user_role)


